package com.smartcruise.util.network.netUtils;

/**
 * Created by FengChaoQun
 * on 2018/2/5 0005
 */

public class NetContract {

    public static boolean isSuccess(Result result) {
        return result != null && result.getCode() == 2000;
    }

}
